package com.sit.jike.hrproject.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/student")
public class StudentController {
    @GetMapping("/hello")
    public Map<String, Object> sayHello() {
        Map<String, Object> map = new HashMap<String, Object>();
        map.put("姓名", "22计科");
        map.put("班级", "1班");
        return map;
    }
}
